JBoss Community Archive (Read Only)

GateIn Portal 3.5

Custom Sign in Page

When accessing a page that requires privileges, a Sign in page is shown and it can be customized by using an extension. To do so, it would be enough to copy the file located at:

Login JSP
gatein.ear/portal.war/login/jsp/login.jsp

and include it in a portal extension such as myExtension.ear/myWar.war/login/jsp/login.jsp 

All the logic must be carefully kept in the login page so that the portal will keep working as it should.

To modify the modal window which pops up when the user decides to sign-in, the extension would have a modified copy of:

Login Form
gatein.ear/portal.war/groovy/portal/webui/UILoginForm.gtmpl
JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-10 12:47:31 UTC, last content change 2012-12-06 13:53:28 UTC.